<?php
class Menu_manager extends Abstract_manager
{
    function __construct()
    {
        parent::__construct();
        $this->table = "menus";
        $this->config = array(
               array(
                     'field'   => 'title', 
                     'label'   => 'Titel', 
                     'rules'   => 'required'
                  )
            );
        $this->form_validation->set_rules($this->config);
        $this->post_data['unique_name'] = strtolower(url_title($this->input->post("title"), 'dash'));
    }
}